package com.zork.cmdb.webapi.mapper.cmdb;

import com.zork.cmdb.webapi.domain.dbo.RelationshipTypeDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author chenjh
 * @date 2018/7/3
 * @description
 */
@Mapper
public interface RelationshipTypeMapper {

    @Select("SELECT [RalationshipTypeID]\n" +
            "      ,[RalationshipTypeName]\n" +
            "      ,[IsSystemDefined]\n" +
            "      ,[Style]\n" +
            "  FROM [RalationshipType]")
    List<RelationshipTypeDO> listRelationshipType();
}
